<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8"></meta>
    <%= javascript_include_tag 'jquery.js' %>
    <%= javascript_include_tag 'growl' %>
    <%= javascript_include_tag 'store.js' %>
    <%= stylesheet_link_tag 'new_common' %>
    <%= stylesheet_link_tag 'pshow' %>
    <%= stylesheet_link_tag 'default' %>
    <!--[if IE 6]>
    <%= stylesheet_link_tag 'ie6' %>
    <![endif]-->
    <link rel="shortcut icon" href="/images/favicon.ico" />
    <meta name="keywords" content="TT小站,印花T恤,T-shirt,舒适,轻松,休闲,自在,立体大巴" />
    <title>TT小站</title>
  </head>

  <body>
    <div id="main">
      <div id="flash" style="display:none;">
        <%= flash[:notice] %>
      </div>
      <div id="banner_toolbar">
        <ul>
          <li id="bt_first"></li>
          <li id="bt_cart"><a href="/store/my_cart" id="minicart">(<%=@cart.items.length%>)</a></li>

          <% if session[:user_id] %>
            <li class="bt_break"><div></div></li>
            <li id="fav"><a href="/store/my_favorite" id="minifavo">(<%=User.find(session[:user_id]).favors.size %>)</a></li>
          <%  end %>
          <li id="bt_end"></li>
        </ul>
      </div>

      <div id="logo">
        <h1></h1>
        <p>TT小站 中国最称心的网上购物平台     系统升级中，暂停营业</p>
      </div>

      <div id="phone-weather">
        <div id="phone">
          <p><br />
            <span></span>
          </p>
        </div>
        <div id="im">
          <a id="qq" href="http://sighttp.qq.com/cgi-bin/check?sigkey=4a17f46118af80db17189b21f57174eb3ebfbda1789feeac2cca5b855a1b5a42"; target=_blank; onclick="var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=4a17f46118af80db17189b21f57174eb3ebfbda1789feeac2cca5b855a1b5a42';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;"><img border="0" SRC='http://wpa.qq.com/pa?p=1:1480470071:42' alt="联系我们"></a>
          <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=4a043acbb1a21c79@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="http://messenger.services.live.com/users/4a043acbb1a21c79@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></a>
          <a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=tt%E5%B0%8F%E7%AB%99&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=tt%E5%B0%8F%E7%AB%99&s=1" alt="点击这里给我发消息" /></a>
        </div>
        <div id="weather">
          <iframe width='342' height='30' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='No' src='http://m.weather.com.cn/m/p3/weather1.htm' name="I6"></iframe>
        </div>
      </div>

      <!-- 導航欄 -->
      <ul id="nav">
        <li id="nav_first">
          <a  href="/" title="首页" id="nav_index"  <% if is_index? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/store/for_her<%= default_forher_path(Style::FEMALE) %>" title="女生通道" id="nav_girl"  <% if is_for_her? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/store/for_him<%= default_forher_path(Style::MALE) %>" title="男生通道" id="nav_boy" <% if is_for_him? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/designs" title="图案" id="nav_design" <% if is_designs? %>class="current"<%  end %> ></a>
        </li>
        <li>
          <a  href="/store/materials" title="款式" id="nav_style" <% if is_styles? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/pcates/<%=DIY_CATE %>/products" title="达人品位" id="nav_products" <% if is_products? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/store/mine" title="我的TT" id="nav_mine" <% if is_mine? %>class="current"<%  end %>></a>
        </li>
        <li>
          <a  href="/articles/3" title="帮助中心" id="nav_help"></a>
        </li>
      </ul>
      <div id="login_toolbar">
        <div id="login_form">
          <% if session[:user_id] %>
            <% @user =  User.find(session[:user_id])%>
            <div style="padding:0.5em 14em;">
              <%=@user.login%>,欢迎回来 <a href="/sessions/destroy" class="action_logout">注销登录</a>
            </div>
          <%else%>
            <% form_tag session_path do -%>
              <div style="float:left;">
                <label for="login">账号 </label><%= text_field_tag 'login','',:class=>'login_input',:value=>cookies[:user_login] %>
                <label for="password">密码 </label><%= password_field_tag 'password','',:class=>'login_input' %>
                <%= submit_tag "登录" %>
                <label for="remember_me" style="color:gray;"> 保存登录 </label><%= check_box_tag 'remember_me' %>
                <a href="/users/new">注册</a>
              </div>
            <% end -%>
          <%end%>
        </div>

        <ul id="step">
          <li id="step0" ></li>
          <li id="step1" <%="class=current_step"  if is_for_him? or is_for_her? -%>></li>
          <li id="step2" <%="class=current_step"  if is_my_cart?  -%>></li>
          <li id="step3" <%="class=current_step"  if is_check_out? -%>></li>
          <li id="step4"></li>
        </ul>
      </div>

      <!-- 導航欄結束 -->

      <div id="container">
        <%= yield  %>
      </div>

      <!-- 右結束 -->
    </div>

    <!-- overlayed element -->
    <div class="apple_overlay" id="overlay">
      <!-- the external content is loaded inside this tag -->
      <div class="contentWrap" id="contentWrap"></div>
    </div>



    <div id="footer">
      <div class="subLinks">
        <p>TT小站为您全心打造称心，舒适，轻松，休闲，自在的品味T恤</p>
        <p class="about">
          <a href="/">首页</a> |
          <a href="http://shop61954682.taobao.com/" target="_blank">TT小站淘宝店</a> |
          <a href="/articles/3#gsjj" target="_blank">公司简介</a> |
          <a href="/articles/3/#fwtk" target="_blank">用户协议</a> |
          <a href="http://ttstation.mygb.cn/" target="_blank">给我留言</a> |
          <a href="http://blog.163.com/ttstation@126/blog/static/167552959201062855845238/" target="_blank">快递查询</a> |
          <a href="/users/apply_agent/<%=session[:user_id]%>" target="_blank">加盟TT</a>
          <a href="http://www.onehao.net" target="_blank">1号网址导航</a>
          <script src="http://s14.cnzz.com/stat.php?id=2274383&web_id=2274383&show=pic" language="JavaScript"></script>

        </p>
        <p>
          <address>Copyright @2010 ttstation.net All Rights Reserved</address> |
          <span>粤ICP备10098715号</span>
        </p>
        <p>
            <img src="/images/background/zfb.gif" />
        </p>
      </div>
    </div>
<!-- 客服栏漂移
    <div id="footer_toolbar">
        <p>
          <a id="qq" href="http://sighttp.qq.com/cgi-bin/check?sigkey=4a17f46118af80db17189b21f57174eb3ebfbda1789feeac2cca5b855a1b5a42"; target=_blank; onclick="var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=4a17f46118af80db17189b21f57174eb3ebfbda1789feeac2cca5b855a1b5a42';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;"><img border="0" SRC='http://wpa.qq.com/pa?p=1:1480470071:42' alt="联系我们"></a>
          <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=4a043acbb1a21c79@apps.messenger.live.com&mkt=zh-cn"><img style="border-style: none;" src="http://messenger.services.live.com/users/4a043acbb1a21c79@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /></a>
          <a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=tt%E5%B0%8F%E7%AB%99&s=1" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=tt%E5%B0%8F%E7%AB%99&s=1" alt="点击这里给我发消息" /></a>
        </p>
    </div>
 -->
  </body>

</html>